package com.lemon.core.base.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分页数据
 *
 * @author pan
 * @since 2017-09-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageInfo<T> {

    private List<T> records;

    private long total;
}
